//
//  AboutViewController.m
//  ksjv2
//
//  Created by mac on 15/1/14.
//  Copyright (c) 2015年 CnbizMedia. All rights reserved.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Do any additional setup after loading the view.
}
-(void)viewDidLayoutSubviews{
    UIImageView*imageview=[[UIImageView alloc]initWithFrame:self.view.frame];
    imageview.image = [UIImage imageNamed:@"about_us_568h"];
    NSString *app_Version = [[[NSBundle mainBundle]infoDictionary] objectForKey:@"CFBundleShortVersionString"];

    UILabel*vers=[[UILabel alloc]initWithFrame:CGRectMake(0, self.view.frame.size.height*0.9, self.view.frame.size.width, 22)];
    vers.text=[NSString stringWithFormat:@"Version %@",app_Version];
    vers.font=[UIFont systemFontOfSize:15];
    vers.textColor=[UIColor colorWithWhite:0.330 alpha:1.000];
    vers.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:imageview];
    [self.view addSubview:vers];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
